import request from '@/utils/request'

// 查询约印医疗-项目管理-初步访谈列表
export function listSysYueyinDealPreliminaryInterview(query) {
  return request({
    url: '/preliminaryInterview/sysYueyinDealPreliminaryInterview/list',
    method: 'get',
    params: query
  })
}

// 查询约印医疗-项目管理-初步访谈详细
export function getSysYueyinDealPreliminaryInterview(id) {
  return request({
    url: '/preliminaryInterview/sysYueyinDealPreliminaryInterview/' + id,
    method: 'get'
  })
}

// 保存约印医疗-项目管理-初步访谈
export function saveSysYueyinDealPreliminaryInterview(data) {
  return request({
    url: '/preliminaryInterview/sysYueyinDealPreliminaryInterview/save',
    method: 'post',
    data: data
  })
}

// 删除约印医疗-项目管理-初步访谈
export function delSysYueyinDealPreliminaryInterview(id) {
  return request({
    url: '/preliminaryInterview/sysYueyinDealPreliminaryInterview/' + id,
    method: 'delete'
  })
}

// 导出约印医疗-项目管理-初步访谈
export function exportSysYueyinDealPreliminaryInterview(query) {
  return request({
    url: '/preliminaryInterview/sysYueyinDealPreliminaryInterview/export',
    method: 'get',
    params: query
  })
}

// 查询初始数据
export function getByWfNodeId(id) {
  return request({
    url: '/preliminaryInterview/sysYueyinDealPreliminaryInterview/getByWfNodeId/' + id,
    method: 'get'
  })
}
